﻿/* 2014/4/20 */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Cosmos.Windows.Forms
{
    public partial class TextBoxForm : Form
    {
        public TextBoxForm()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Gets or sets text of the TextBox in this form.
        /// </summary>
        public string InnerText
        {
            get 
            {
                return textBox.Text; 
            }

            set
            {
                textBox.Text = value;
            }
        }

        public string ConfirmButtonText
        {
            get
            {
                return confirmButton.Text;
            }

            set
            {
                confirmButton.Text = value;
            }
        }

        public string CancelButtonText
        {
            get
            {
                return cancelButton.Text;
            }

            set
            {
                cancelButton.Text = value;
            }
        }
    }
}
